	var jobCount = 0;
	
		function check(){
	
		var tObj = document.getElementById("job");
		for(var i = 0;i < tObj.rows.length + jobCount - 1;i++){
			if(document.getElementById("VALUES1" + i) != null){
				document.getElementById("values_1").value = document.getElementById("values_1").value + document.getElementById("VALUES1" + i).value + ",";
				document.getElementById("values_2").value = document.getElementById("values_2").value + document.getElementById("VALUES2" + i).value + ",";
				document.getElementById("values_3").value = document.getElementById("values_3").value + document.getElementById("VALUES3" + i).value + ",";
				document.getElementById("values_4").value = document.getElementById("values_4").value + document.getElementById("VALUES4" + i).value + ",";
				document.getElementById("values_5").value = document.getElementById("values_5").value + document.getElementById("VALUES5" + i).value + ",";
				document.getElementById("values_6").value = document.getElementById("values_6").value + document.getElementById("VALUES6" + i).value + ",";
				document.getElementById("values_7").value = document.getElementById("values_7").value + document.getElementById("VALUES7" + i).value + ",";
				document.getElementById("values_8").value = document.getElementById("values_8").value + document.getElementById("VALUES8" + i).value + ",";
				document.getElementById("values_9").value = document.getElementById("values_9").value + document.getElementById("VALUES9" + i).value + ",";
				document.getElementById("values_10").value = document.getElementById("values_10").value + document.getElementById("VALUES10" + i).value + ",";
			}
		}
		
		
	}
	
	function addJobRow(){
		var tObj = document.getElementById("job");
		var newRow = tObj.insertRow(tObj.rows.length);
			newRow.id = "row1" + jobCount;
			
		var cell_1 = newRow.insertCell(0);
		    cell_1.innerHTML = "<input id=\"VALUES1"+jobCount+"\" type=\"text\" size=\"7\"  value=\"\">";
		
		var cell_2 = newRow.insertCell(1);
			cell_2.innerHTML = "<input id=\"VALUES2"+jobCount+"\" type=\"text\" size=\"7\"  value=\"\">";
		
		var cell_3 = newRow.insertCell(2);
			cell_3.innerHTML = "<input id=\"VALUES3"+jobCount+"\" type=\"text\" size=\"7\"  value=\"\">";
		
		var cell_4 = newRow.insertCell(3);
			cell_4.innerHTML = "<input id=\"VALUES4"+jobCount+"\" type=\"text\"  size=\"7\" value=\"\">";
		
		var cell_5 = newRow.insertCell(4);
			cell_5.innerHTML = "<input id=\"VALUES5"+jobCount+"\" type=\"text\" size=\"7\" value=\"\">";
			
		var cell_6 = newRow.insertCell(5);
			cell_6.innerHTML = "<input id=\"VALUES6"+jobCount+"\" type=\"text\" size=\"7\" value=\"\">";
		
		var cell_7 = newRow.insertCell(6);
			cell_7.innerHTML = "<input id=\"VALUES7"+jobCount+"\" type=\"text\" size=\"7\" value=\"\">";
		
		var cell_8 = newRow.insertCell(7);
			cell_8.align = "center";
			cell_8.bgColor = "#FFFFFF";
			cell_8.innerHTML = "<input id=\"VALUES8"+jobCount+"\" type=\"text\" size=\"7\" value=\"\">";
			
		var cell_9 = newRow.insertCell(8);
			cell_9.innerHTML = "<input id=\"VALUES9"+jobCount+"\" type=\"text\" size=\"7\" value=\"\">";
			
		var cell_10 = newRow.insertCell(9);
			cell_10.innerHTML = "<img src=\"/web/images/main/row_dec.gif\" onclick=\"deleteJobRow('row1"+jobCount+"');\" onmouseover=\"this.style.cursor='pointer'\">";
		
		jobCount++;
	}
	
	
	function deleteJobRow(rowID){
		var selectRow = document.getElementById(rowID);
		var tObj = document.getElementById("job");
		tObj.deleteRow(selectRow.rowIndex);
	}